public class TextStack {
    //进行测试自己模拟实现的栈；
    public static void main(String[] args){
        MyStack myStack=new MyStack();
        myStack.push(11);
        myStack.push(22);
        myStack.push(33);
        myStack.push(44);
        myStack.disPlay();
        myStack.pop();
        myStack.disPlay();
        int ret=myStack.peek();
       System.out.println(ret);


    }
}
